home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-04-28 | 1.3 KB | 52 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH 1"="Program Options\Microsoft Office\MS Office 2000\Photo Editor"
- "UIPATH 2"="Program Options\Microsoft Office\MS Office XP\Photo Editor"
- "NAME"="Clear Items"
- "VERSION"="1.02"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear recent file list"
- "TEXT 2"="Clear Radio Links"
- "TEXT 3"="C"
- "TEXT 4"="D"
- "DESCRIPTION 1"="If you do not want that other people can see the items you have opened, click the button."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Aren't plug-in comments great? <g> - CptSiskoX"
- "COMMENT 3"="http://www.fortunecity.com/meltingpot/ny/413/"
-
-
- sP="HKEY_CURRENT_USER\Software\Microsoft\Photo Editor\3.0\Microsoft Photo Editor\"
-
- Sub Plugin_Initialize
- If RegPathExists(sP)=false then
- Disable()
- end if
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- for l=1 to 30
- s="LastFile" & l
- if RegValueExists(sP & s) then
- Call RegDeleteValue(sP & s)
- end if
-
- s="LastType" & l
- if RegValueExists(sP & s) then
- Call RegDeleteValue(sP & s)
- end if
-
- Next
-
- Call MsgInformation("Cleared!")
- end if
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-